// import Axios from '../../utils/request.js'
import {get,deletes,post,put} from "../../utils/request.js"

//按照分类id获取相应的题库 
export function getATypeProble(data){
	return get('/h5/eRepository/getBySafeTypeId?id='+data)
}
//前台获取所有安全分类
export function getSafeType(){
	return get('/h5/eSafeType/frontAll')
}

// //获取所有安全分类名称
export function getSafeTypeName(){
	return get('/h5/eSafeType/allName')
}

export function addPraticeRecord(data){
	return post('/h5/ePracticeRecord',data)
}